/**   
 * @Title: CreditException.java 
 * @Package com.lfrzzl.frame.exception
 * @Description: TODO
 * @author    
 * @date 2017年6月29日 上午11:13:21 
 * @version V1.0   
 */
package com.common.exception;

/** 
 * @ClassName: CreditException 
 * @Description: TODO 
 * @author 
 * @date 2017年6月29日 上午11:13:21 
 *  
 */
public class CreditException extends RuntimeException {

	private static final long serialVersionUID = -2293071974131949512L;
	private String code;

	public CreditException() {
		super();
	}
	
	public CreditException(String message) {
		super(message);
	}
	
	public CreditException(Throwable cause) {
		super(cause);
	}
	
	public CreditException(String message, Throwable cause) {
		super(message, cause);
	}

	public CreditException(String code, String message) {
		super(message);
		this.code = code;
	}
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
